# -*- coding: utf-8 -*-
"""
Created on Thu Apr 18 15:24:48 2019

@author: LENOVO
"""
class Dog():
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def sit(self):
        print(self.name.title() + " is now setting.")
    def roll_over(self):
        print(self.name.title() + " rolled over!")
        
my_dog = Dog('willie',6)
print("My dog's name is "+ my_dog.name.title() + ".")
print("My dog is "+ str(my_dog.age) + " years old.")

my_dog.sit()
my_dog.roll_over()




